c# dictionary with dictionary as value

49

c# dictionary with dictionary as value -

var collection = new Dictionary<string, Dictionary<string, int>>();
collection.Add("some key", new Dictionary<string, int>());
collection["some key"].Add("inner key", 0);

Comments

Submit
0 Comments